/**
 * output package name
 */
package com.kingdee.eas.mx.log.jd.app;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class EnsureEnum extends StringEnum
{
    public static final String YES_VALUE = "Y";
    public static final String NO_VALUE = "N";

    public static final EnsureEnum yes = new EnsureEnum("yes", YES_VALUE);
    public static final EnsureEnum no = new EnsureEnum("no", NO_VALUE);

    /**
     * construct function
     * @param String ensureEnum
     */
    private EnsureEnum(String name, String ensureEnum)
    {
        super(name, ensureEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static EnsureEnum getEnum(String ensureEnum)
    {
        return (EnsureEnum)getEnum(EnsureEnum.class, ensureEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(EnsureEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(EnsureEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(EnsureEnum.class);
    }
}